﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Class to configure reading style to object
 * 
 * Created:     23.08.2014
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2014 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     23.08.2014 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;
using WMSSoft.Lib.Enums;

namespace WMSSoft.Lib.WinKStart.Classes.Styles
{
    /// <summary>
    /// The Class Contains a Configuration - Object to describe a Style for a Image - Control     
    /// </summary>
    public class cUIElementImage
    {
        private int _Height = 32;
        private int _Width = 32;
        private string _Source = "";
        private Thickness _Margin = new Thickness();
        private Stretch _Stretch = Stretch.Uniform;
        private System.Windows.Controls.StretchDirection _StretchDirection = System.Windows.Controls.StretchDirection.Both;
        private Visibility _Visible = Visibility.Visible;

        public cUIElementImage()
        {
            //Nothing TODO
        }

        #region Properties
        public int Height
        {
            get { return _Height; }
            set { _Height = value; }
        }

        public int Width
        {
            get { return _Width; }
            set { _Width = value; }
        }

        public Thickness Margin
        {
            get { return _Margin; }
            set { _Margin = value; }
        }

        public string Source
        {
            get { return _Source; }
            set { _Source = value; }
        }

        public Stretch Stretch
        {
            get { return _Stretch; }
            set { _Stretch = value; }
        }

        public System.Windows.Controls.StretchDirection StretchDirection
        {
            get { return _StretchDirection; }
            set { _StretchDirection = value; }
        }

        public Visibility Visible
        {
            get { return _Visible; }
            set { _Visible = value; }
        }
        #endregion
    }
}
